package com.my.mapper;

import com.my.bean.SysDic;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.my.bean.ZtreeBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
  * 字典表 Mapper 接口
 * </p>
 *
 * @author 张子艺
 * @since 2018-08-20
 */
public interface SysDicMapper extends BaseMapper<SysDic> {
    List<ZtreeBean> selectDic();
    SysDic selectDicById(long id);
    List<SysDic> findDataByDicCode(@Param("param") String code);
}